3.56 \(\int \frac{1}{(c g+d g x)^3 (A+B \log (e (\frac{a+b x}{c+d x})^n))^2} \, dx\)

Optimal. Leaf size=256 \[ -\frac{2 d (a+b x)^2 e^{-\frac{2 A}{B n}} \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )^{-2/n} \text{Ei}\left (\frac{2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{B n}\right )}{B^2 g^3 n^2 (c+d x)^2 (b c-a d)^2}+\frac{b (a+b x) e^{-\frac{A}{B n}} \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )^{-1/n} \text{Ei}\left (\frac{A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )}{B n}\right )}{B^2 g^3 n^2 (c+d x) (b c-a d)^2}-\frac{a+b x}{B g^3 n (c+d x)^2 (b c-a d) \left (B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )+A\right )} \]

[Out]

(b*(a + b*x)*ExpIntegralEi[(A + B*Log[e*((a + b*x)/(c + d*x))^n])/(B*n)])/(B^2*(b*c - a*d)^2*E^(A/(B*n))*g^3*n
^2*(e*((a + b*x)/(c + d*x))^n)^n^(-1)*(c + d*x)) - (2*d*(a + b*x)^2*ExpIntegralEi[(2*(A + B*Log[e*((a + b*x)/(
c + d*x))^n]))/(B*n)])/(B^2*(b*c - a*d)^2*E^((2*A)/(B*n))*g^3*n^2*(e*((a + b*x)/(c + d*x))^n)^(2/n)*(c + d*x)^
2) - (a + b*x)/(B*(b*c - a*d)*g^3*n*(c + d*x)^2*(A + B*Log[e*((a + b*x)/(c + d*x))^n]))

________________________________________________________________________________________

Rubi [F]  time = 0.0943265, antiderivative size = 0, normalized size of antiderivative = 0., number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0., Rules used = {} \[ \int \frac{1}{(c g+d g x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2} \, dx \]

Verification is Not applicable to the result.

[In]

Int[1/((c*g + d*g*x)^3*(A + B*Log[e*((a + b*x)/(c + d*x))^n])^2),x]

[Out]

Defer[Int][1/((c*g + d*g*x)^3*(A + B*Log[e*((a + b*x)/(c + d*x))^n])^2), x]

Rubi steps

\begin{align*} \int \frac{1}{(c g+d g x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2} \, dx &=\int \frac{1}{(c g+d g x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2} \, dx\\ \end{align*}

Mathematica [A]  time = 0.565389, size = 288, normalized size = 1.12 \[ \frac{(a+b x) e^{-\frac{2 A}{B n}} \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )^{-2/n} \left (b e^{\frac{A}{B n}} (c+d x) \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )^{\frac{1}{n}} \left (B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )+A\right ) \text{Ei}\left (\frac{A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )}{B n}\right )-2 d (a+b x) \left (B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )+A\right ) \text{Ei}\left (\frac{2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{B n}\right )-B n e^{\frac{2 A}{B n}} (b c-a d) \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )^{2/n}\right )}{B^2 g^3 n^2 (c+d x)^2 (b c-a d)^2 \left (B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )+A\right )} \]

Antiderivative was successfully verified.

[In]

Integrate[1/((c*g + d*g*x)^3*(A + B*Log[e*((a + b*x)/(c + d*x))^n])^2),x]

[Out]

((a + b*x)*(-(B*(b*c - a*d)*E^((2*A)/(B*n))*n*(e*((a + b*x)/(c + d*x))^n)^(2/n)) + b*E^(A/(B*n))*(e*((a + b*x)
/(c + d*x))^n)^n^(-1)*(c + d*x)*ExpIntegralEi[(A + B*Log[e*((a + b*x)/(c + d*x))^n])/(B*n)]*(A + B*Log[e*((a +
 b*x)/(c + d*x))^n]) - 2*d*(a + b*x)*ExpIntegralEi[(2*(A + B*Log[e*((a + b*x)/(c + d*x))^n]))/(B*n)]*(A + B*Lo
g[e*((a + b*x)/(c + d*x))^n])))/(B^2*(b*c - a*d)^2*E^((2*A)/(B*n))*g^3*n^2*(e*((a + b*x)/(c + d*x))^n)^(2/n)*(
c + d*x)^2*(A + B*Log[e*((a + b*x)/(c + d*x))^n]))

________________________________________________________________________________________

Maple [F]  time = 0.439, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{ \left ( dgx+cg \right ) ^{3}} \left ( A+B\ln \left ( e \left ({\frac{bx+a}{dx+c}} \right ) ^{n} \right ) \right ) ^{-2}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(d*g*x+c*g)^3/(A+B*ln(e*((b*x+a)/(d*x+c))^n))^2,x)

[Out]

int(1/(d*g*x+c*g)^3/(A+B*ln(e*((b*x+a)/(d*x+c))^n))^2,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*g*x+c*g)^3/(A+B*log(e*((b*x+a)/(d*x+c))^n))^2,x, algorithm="maxima")

[Out]

-(b*x + a)/((b*c^3*g^3*n - a*c^2*d*g^3*n)*A*B + (b*c^3*g^3*n*log(e) - a*c^2*d*g^3*n*log(e))*B^2 + ((b*c*d^2*g^
3*n - a*d^3*g^3*n)*A*B + (b*c*d^2*g^3*n*log(e) - a*d^3*g^3*n*log(e))*B^2)*x^2 + 2*((b*c^2*d*g^3*n - a*c*d^2*g^
3*n)*A*B + (b*c^2*d*g^3*n*log(e) - a*c*d^2*g^3*n*log(e))*B^2)*x + ((b*c*d^2*g^3*n - a*d^3*g^3*n)*B^2*x^2 + 2*(
b*c^2*d*g^3*n - a*c*d^2*g^3*n)*B^2*x + (b*c^3*g^3*n - a*c^2*d*g^3*n)*B^2)*log((b*x + a)^n) - ((b*c*d^2*g^3*n -
 a*d^3*g^3*n)*B^2*x^2 + 2*(b*c^2*d*g^3*n - a*c*d^2*g^3*n)*B^2*x + (b*c^3*g^3*n - a*c^2*d*g^3*n)*B^2)*log((d*x
+ c)^n)) - integrate((b*d*x - b*c + 2*a*d)/(((b*c*d^3*g^3*n - a*d^4*g^3*n)*A*B + (b*c*d^3*g^3*n*log(e) - a*d^4
*g^3*n*log(e))*B^2)*x^3 + (b*c^4*g^3*n - a*c^3*d*g^3*n)*A*B + (b*c^4*g^3*n*log(e) - a*c^3*d*g^3*n*log(e))*B^2
+ 3*((b*c^2*d^2*g^3*n - a*c*d^3*g^3*n)*A*B + (b*c^2*d^2*g^3*n*log(e) - a*c*d^3*g^3*n*log(e))*B^2)*x^2 + 3*((b*
c^3*d*g^3*n - a*c^2*d^2*g^3*n)*A*B + (b*c^3*d*g^3*n*log(e) - a*c^2*d^2*g^3*n*log(e))*B^2)*x + ((b*c*d^3*g^3*n
- a*d^4*g^3*n)*B^2*x^3 + 3*(b*c^2*d^2*g^3*n - a*c*d^3*g^3*n)*B^2*x^2 + 3*(b*c^3*d*g^3*n - a*c^2*d^2*g^3*n)*B^2
*x + (b*c^4*g^3*n - a*c^3*d*g^3*n)*B^2)*log((b*x + a)^n) - ((b*c*d^3*g^3*n - a*d^4*g^3*n)*B^2*x^3 + 3*(b*c^2*d
^2*g^3*n - a*c*d^3*g^3*n)*B^2*x^2 + 3*(b*c^3*d*g^3*n - a*c^2*d^2*g^3*n)*B^2*x + (b*c^4*g^3*n - a*c^3*d*g^3*n)*
B^2)*log((d*x + c)^n)), x)

________________________________________________________________________________________

Fricas [B]  time = 0.897675, size = 1648, normalized size = 6.44 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*g*x+c*g)^3/(A+B*log(e*((b*x+a)/(d*x+c))^n))^2,x, algorithm="fricas")

[Out]

((A*b*d^2*x^2 + 2*A*b*c*d*x + A*b*c^2 + (B*b*d^2*x^2 + 2*B*b*c*d*x + B*b*c^2)*log(e) + (B*b*d^2*n*x^2 + 2*B*b*
c*d*n*x + B*b*c^2*n)*log((b*x + a)/(d*x + c)))*e^((B*log(e) + A)/(B*n))*log_integral((b*x + a)*e^((B*log(e) +
A)/(B*n))/(d*x + c)) - ((B*b^2*c - B*a*b*d)*n*x + (B*a*b*c - B*a^2*d)*n)*e^(2*(B*log(e) + A)/(B*n)) - 2*(A*d^3
*x^2 + 2*A*c*d^2*x + A*c^2*d + (B*d^3*x^2 + 2*B*c*d^2*x + B*c^2*d)*log(e) + (B*d^3*n*x^2 + 2*B*c*d^2*n*x + B*c
^2*d*n)*log((b*x + a)/(d*x + c)))*log_integral((b^2*x^2 + 2*a*b*x + a^2)*e^(2*(B*log(e) + A)/(B*n))/(d^2*x^2 +
 2*c*d*x + c^2)))*e^(-2*(B*log(e) + A)/(B*n))/((A*B^2*b^2*c^2*d^2 - 2*A*B^2*a*b*c*d^3 + A*B^2*a^2*d^4)*g^3*n^2
*x^2 + 2*(A*B^2*b^2*c^3*d - 2*A*B^2*a*b*c^2*d^2 + A*B^2*a^2*c*d^3)*g^3*n^2*x + (A*B^2*b^2*c^4 - 2*A*B^2*a*b*c^
3*d + A*B^2*a^2*c^2*d^2)*g^3*n^2 + ((B^3*b^2*c^2*d^2 - 2*B^3*a*b*c*d^3 + B^3*a^2*d^4)*g^3*n^2*x^2 + 2*(B^3*b^2
*c^3*d - 2*B^3*a*b*c^2*d^2 + B^3*a^2*c*d^3)*g^3*n^2*x + (B^3*b^2*c^4 - 2*B^3*a*b*c^3*d + B^3*a^2*c^2*d^2)*g^3*
n^2)*log(e) + ((B^3*b^2*c^2*d^2 - 2*B^3*a*b*c*d^3 + B^3*a^2*d^4)*g^3*n^3*x^2 + 2*(B^3*b^2*c^3*d - 2*B^3*a*b*c^
2*d^2 + B^3*a^2*c*d^3)*g^3*n^3*x + (B^3*b^2*c^4 - 2*B^3*a*b*c^3*d + B^3*a^2*c^2*d^2)*g^3*n^3)*log((b*x + a)/(d
*x + c)))

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*g*x+c*g)**3/(A+B*ln(e*((b*x+a)/(d*x+c))**n))**2,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (d g x + c g\right )}^{3}{\left (B \log \left (e \left (\frac{b x + a}{d x + c}\right )^{n}\right ) + A\right )}^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*g*x+c*g)^3/(A+B*log(e*((b*x+a)/(d*x+c))^n))^2,x, algorithm="giac")

[Out]

integrate(1/((d*g*x + c*g)^3*(B*log(e*((b*x + a)/(d*x + c))^n) + A)^2), x)